Release 10.1A: OpenEdge Development:
Programming Interfaces
prordbc() - Read CHARACTER Field
The
prordbc()function reads the value of aCHARACTERfield in a shared buffer.On successful completion,
prordbc()returns 0; otherwise, it returns a non-zero value:Syntax
pbufnamThis input parameter points to the name of the specified shared buffer. You supply the name from your Progress application.
fhandleThis input parameter is the field handle that
profldix()returns for the specified field.indexThis input parameter specifies an index value for an array field. If the field is not an array, you must set the value of
indexto 0.pvarThis output parameter points to a buffer where
prordbc()returns the value of the specifiedCHARACTERfield.punknownThis output parameter points to an integer where
prordbc()returns 1 if the field has the Unknown value (?), and returns 0 otherwise.varlenThis input parameter contains the length of the buffer that
pvarspecifies.pactlenThis output parameter points to an integer where
prordbc()returns the actual length (in bytes) of the data in the specifiedCHARACTERfield.See also
profldix() - Return Field Handle, prordbd() - Read DATE Field, prordbi() - Read INTEGER Field, prordbl() - Read LOGICAL Field, prordbn() - Read DECIMAL Field, prordbr() - Read RECID Field, prowtbc() - Write CHARACTER Field
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |